NewsParserPlugin\Controller\PostController S

Total Complexity 45
Dependencies 8
Dependents 2
Total lines 403
Lines of code 176
Logical lines of code 104
Comment lines 131
Methods 20
Properties 9

Methods 20

Method Rating Maintainability Complexity Lines of code
checkParsedData()
A
54 12 19
formatPostOptions()
S
61 4 13
setPostTemplateOptions()
S
60 4 12
batchParsePost()
S
54 3 22
parsePost()
S
54 3 20
createPostFromParsedData()
S
56 3 17
autopilotParsePost()
S
62 2 10
getPostsInProgress()
S
74 2 4
createCacheErrorMessage()
S
62 1 13
postModelsFactory()
S
80 1 3
assignSourceUrl()
S
80 1 3
currentUserID()
S
79 1 3
__construct()
S
69 1 7
getPostTemplateOptions()
S
73 1 5
applyBodyAdapter()
S
71 1 5
updateParsedDataBody()
S
80 1 3
getParsedData()
S
82 1 3
createPost()
S
66 1 8
getPostsData()
S
79 1 3
parseData()
S
79 1 3